from selenium import  webdriver
from time import sleep
from selenium.webdriver.common.by import By

driver = webdriver.Chrome()
driver.get("http://192.168.1.138/ranzhi/www/sys/user-login-L3JhbnpoaS93d3cvc3lzL2luZGV4Lmh0bWw=.html")
driver.maximize_window()
sleep(5)
driver.find_element(By.XPATH, '//*[@id="account"]').send_keys("admin")
driver.find_element(By.XPATH, '//*[@id="password"]').send_keys("123456")
driver.find_element(By.XPATH, '//*[@id="submit"]').click()
sleep(5)
driver.find_element(By.XPATH, '//*[@id="mainNavbar"]/div/ul[2]/li[1]/a').click()
sleep(5)
driver.find_element(By.XPATH, '//*[@id="mainNavbar"]/div/ul[1]/li/a').click()
sleep(5)
driver.find_element(By.XPATH, '//*[@id="mainNavbar"]/div/ul[2]/li[2]/a').click()
sleep(5)
driver.find_element(By.XPATH, '//*[@id="bottomRightBar"]/ul/li[1]/a').click()